package org.jeecg.modules.online.graphreport.entity;

import java.io.Serializable;

import org.springframework.format.annotation.DateTimeFormat;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;

import lombok.Data;

/**
 * @Description: 图表报告
 * @Author:jeecg-boot
 * @Date: 2019-04-11
 * @Version:V1.0
 */
@Data
@TableName("onl_graphreport_head")
public class OnlGraphreportHead implements Serializable {
	private static final long serialVersionUID = 1L;

	/** id */
	@TableId(type = IdType.ID_WORKER_STR)
	private String id;
	/** 图表名称 */
	private String name;
	/** 图表编码 */
	private String code;
	/** 查询数据SQL */
	private String cgrSql;
	/** X轴数据字段 */
	private String xaxisField;
	/** Y轴数据字段 */
	private String yaxisField;
	/** Y轴文字描述 */
	private String yaxisText;
	/** 描述 */
	private String content;
	/** 扩展JS */
	private String extendJs;
	/** graphType */
	private String graphType;
	/** isCombination */
	private String isCombination;
	/** displayTemplate */
	private String displayTemplate;
	/** dataType */
	private String dataType;
	/** createTime */
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private java.util.Date createTime;
	/** createBy */
	private String createBy;
	/** updateTime */
	@JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private java.util.Date updateTime;
	/** updateBy */
	private String updateBy;
}
